/**
 * 
 */

function checkValidBothDate(departDay, departMonth, departYear, returnDay, returnMonth, returnYear, message) {
	if(checkValidDate(departDay, departMonth, departYear, message)&&checkValidDate(returnDay, returnMonth, returnYear, message)) {
		return true;
	} else {
		return false;
	}
}